VistaDB 6
VistaDB.DDA Namespace / IVistaDBKeyedCollection<TKey,TValue> Interface / Item Property
Key to find in the collection


In This Topic
    Item Property (IVistaDBKeyedCollection<TKey,TValue>)
    In This Topic
    Get a value by the index key name. Returns NULL if not found.
    Syntax
    'Declaration
     
    
    ReadOnly Default Property Item( _
       ByVal key As TKey _
    ) As TValue
    'Usage
     
    
    Dim instance As IVistaDBKeyedCollection(Of TKey,TValue)
    Dim key As TKey
    Dim value As TValue
     
    value = instance.Item(key)
    TValue this[ 
       TKey key
    ]; {get;}

    Parameters

    key
    Key to find in the collection

    Property Value

    The Value object, or null if not found.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also